package com.lu.stack.nacos;

import cn.hutool.extra.spring.EnableSpringUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zhanglu
 * @project lu-cloud-stack
 * @description
 * @date 2023/1/30 16:58
 */
@EnableSpringUtil
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan(basePackages = {"com.lu.stack.nacos.mapper"})
@ComponentScan(basePackages = {"com.lu.stack"})
@SpringBootApplication
public class LuStackNacosApplication {

    public static void main(String[] args) {
        SpringApplication.run(LuStackNacosApplication.class, args);
    }

}
